ComponentOne Data Source for Entity Framework
C1.LiveLinq.LiveViews Namespace / View<T> Class / Where Method
A function to test each element for a condition.

In This Topic
    Where Method (View<T>)
    In This Topic
    Filters the source view based on a predicate.
    Syntax
    'Declaration
     
    
    Public Function Where( _
       ByVal predicate As System.Linq.Expressions.Expression(Of Func(Of T,Boolean)) _
    ) As View(Of T)
    public View<T> Where( 
       System.Linq.Expressions.Expression<Func<T,bool>> predicate
    )

    Parameters

    predicate
    A function to test each element for a condition.

    Return Value

    A view that contains elements of this view that satisfy the condition.
    See Also